package com.gdd.videos.mapper;

import com.gdd.videos.pojo.SearchRecord;
import com.gdd.videos.pojo.SearchRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SearchRecordMapper {
    int countByExample(SearchRecordExample example);

    int deleteByExample(SearchRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(SearchRecord record);

    int insertSelective(SearchRecord record);

    List<SearchRecord> selectByExample(SearchRecordExample example);

    SearchRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SearchRecord record, @Param("example") SearchRecordExample example);

    int updateByExample(@Param("record") SearchRecord record, @Param("example") SearchRecordExample example);

    int updateByPrimaryKeySelective(SearchRecord record);

    int updateByPrimaryKey(SearchRecord record);
}